/*
 * Method.h
 *
 *  Created on: Aug 5, 2009
 *      Author: ramesh
 */

#ifndef _COMPOSER_METHOD_H_
#define _COMPOSER_METHOD_H_

#include "Entity.h"
#include "Scope.h"
#include "Variable.h"

#include "../../Shared.h"


namespace SymphonyAST {



class Method : public Scope, public Entity {
private:
	vector<int> parametersTypes;
	string name;
	string returnType;

public:
	string getId() {
		return "method";
	}

	string getName();
	void setName(const string& name);

	int getReturnTypeId();
	void setReturnType(const string& returnType);

	void addParameter(string par);
	vector<int> getParametersTypes();
};



}

#endif /* _COMPOSER_METHOD_H_ */
